export type UserLoginType = {
  username: string
  password: string
  captchaVerification?: string
  socialType?: string
  socialCode?: string
  socialState?: string
}

export type TokenType = {
  accessToken: string // 访问令牌
  refreshToken: string // 刷新令牌
  expiresTime: number //过期时间
}

export type UserType = {
  id: number
  username: string
  nickname: string
  password?: string
  departId: number
  tenantType: number
  postIds: string[]
  email: string
  mobile: string
  sex: number | undefined
  avatar?: string
  status: number
  remark: string
} | null
